< previous page page_50 next page >

Page 50
use in the program.
Print lets users select a printer and set some of the printer parameters.
Help accesses the Windows help engine to display the referenced help file.
To access the Common Dialog control, you have to add it to your project from the Components dialog box. You should now see the Common Dialog control in the toolbox as shown in Figure 2.2.
12181-0050a.gif
Figure 2.2.
The Common Dialog control in the
toolbox.
Start a new project and place the Common Dialog control on the form. To use any of the different functions, you need to set some of the control's properties by using the Properties window or the Common Dialog control's Property Pages dialog box (see Figure 2.3). The Property Pages dialog box provides you with an easy way to access the specific properties needed for each Common Dialog type. To access the Property Pages dialog box, right-click the control and select Properties from the pop-up menu. Because you need only one control to access any of the different functions available, you can set the properties for all of them at the same time.
12181-0050b.gif
Figure 2.3.
The Property Pages for the Common Dialog
control allows you to change many of the
control's properties.

 
< previous page page_50 next page >

If you like this book, buy it!